mas_license

Configuration for NetScaler Console License Information resource.

Read/write properties

id<String>

Id is system generated key.

mhc_lic<Integer>

Multi Hybrid Cloud Licenses, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

automatic_unlicense_timestamp<String>

Timestamp of last automatic unlicense.

vpx_lic<Integer>

VPX Licenses, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

perf<Integer>

Perf, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

cpx_lic<Integer>

CPX Licenses, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

fips_bw_lic<Integer>

FIPS BW Licenses, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

syslog<Integer>

Syslog, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

forced_unlicense_timestamp<String>

Timestamp of last force unlicense.

fips_vcpu_lic<Integer>

FIPS vCPU Licenses, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

is_las_enabled<Boolean>

is las enabled.

tenantnslictype<String>

Tenant NS license type.

upgrade_time<Integer>

Last upgraded time when license reduced from 30 to 2.

max_vips_val<Integer>

Maximum VIPs decoded.

analytics<Integer>

Analytics, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

adv_analytics<Integer>

Advanced Analytics, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

snmp_traps<Integer>

SNMP Traps, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

lic_type<Integer>

0 = Trial Period, 1 = Licensed, 2 = Grace period, 3 = unlicensed.

pooled_lic<Integer>

Pooled Licenses, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

vcpu_lic<Integer>

vCPU Licenses, 0=Unlicensed/Disabled, 1=Unlicensed/Enabled, 2=Licensed/Disabled, 3=Licensed/Enabled.

ns_authenticationvserver_count<Integer>

Total ns authenticationvservers in the system.

manual_licensed_count<Integer>

Total manually licensed vservers in MAS.

cpx_rule_licensed_count<Integer>

Total cpx-rule based licensed vservers in MAS.

cpx_rule_max_limit<Integer>

CPX rule policy max limit in MAS.

ns_lbvserver_managed_count<Integer>

Total licensed ns lbvservers in MAS.

ns_gslbvserver_count<Integer>

Total ns gslbvservers in the system.

ns_csvserver_managed_count<Integer>

Total licensed ns csvservers in MAS.

ns_csvserver_count<Integer>

Total ns csvservers in the system.

ns_authenticationvserver_managed_count<Integer>

Total licensed ns authenticationvservers in MAS.

ns_lbvserver_count<Integer>

Total ns lbvservers in the system.

ns_crvserver_managed_count<Integer>

Total licensed ns crvservers in MAS.

get_consumed_db<Boolean>

Get Consumed DB.

vpx_rule_max_limit<Integer>

VPX rule policy max limit in MAS.

vpx_rule_licensed_count<Integer>

Total vpx-rule based licensed vservers in MAS.

total_licenses_consumed<Integer>

Total licneses consumed(excluding free licenses).

ns_vpnvserver_managed_count<Integer>

Total licensed ns vpnvservers in MAS.

ns_gslbvserver_managed_count<Integer>

Total licensed ns gslbvservers in MAS.

auto_licensed_count<Integer>

Total auto licensed vservers in MAS.

ns_vpnvserver_count<Integer>

Total ns vpnvservers in the system.

ns_crvserver_count<Integer>

Total ns crvservers in the system.

Read only properties

max_tp_vservers<String>

Maximum Third Party Vservers.

max_vips<String>

Maximum VIPs.

rpt_sampletime<Double>

Time Stamp.

node_id<String>

Node ID.

max_storage<String>

Max Storage.

total_allowed_vips<Integer>

Total Allowed VIPs.

total_managed_vips<Integer>

Total managed VIPs.

total_discovered_vips<Integer>

Total discovered VIPs.

entitled_db_storage<Double>

Entitled DB storage in GB.

consumed_db_storage<String>

Consumed DB storage.

total_discovered_tp_vservers<Integer>

Total discovered Third Party Vservres.

total_managed_tp_vservers<Integer>

Total managed Third Party Vservers.

total_allowed_tp_vservers<Integer>

Total Allowed Third Party Vservres.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

getupdate

get

URL:https://<MGMT-IP>/nitro/v2/config/mas_license

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mas_license":[{
      "id":<String_value>,
      "max_tp_vservers":<String_value>,
      "mhc_lic":<Integer_value>,
      "automatic_unlicense_timestamp":<String_value>,
      "vpx_lic":<Integer_value>,
      "max_vips":<String_value>,
      "rpt_sampletime":<Double_value>,
      "perf":<Integer_value>,
      "node_id":<String_value>,
      "cpx_lic":<Integer_value>,
      "fips_bw_lic":<Integer_value>,
      "syslog":<Integer_value>,
      "forced_unlicense_timestamp":<String_value>,
      "fips_vcpu_lic":<Integer_value>,
      "is_las_enabled":<Boolean_value>,
      "tenantnslictype":<String_value>,
      "max_storage":<String_value>,
      "upgrade_time":<Integer_value>,
      "max_vips_val":<Integer_value>,
      "analytics":<Integer_value>,
      "adv_analytics":<Integer_value>,
      "snmp_traps":<Integer_value>,
      "lic_type":<Integer_value>,
      "pooled_lic":<Integer_value>,
      "vcpu_lic":<Integer_value>,
      "ns_authenticationvserver_count":<Integer_value>,
      "total_allowed_vips":<Integer_value>,
      "manual_licensed_count":<Integer_value>,
      "cpx_rule_licensed_count":<Integer_value>,
      "cpx_rule_max_limit":<Integer_value>,
      "total_managed_vips":<Integer_value>,
      "ns_lbvserver_managed_count":<Integer_value>,
      "total_discovered_vips":<Integer_value>,
      "ns_gslbvserver_count":<Integer_value>,
      "ns_csvserver_managed_count":<Integer_value>,
      "entitled_db_storage":<Double_value>,
      "ns_csvserver_count":<Integer_value>,
      "ns_authenticationvserver_managed_count":<Integer_value>,
      "ns_lbvserver_count":<Integer_value>,
      "ns_crvserver_managed_count":<Integer_value>,
      "get_consumed_db":<Boolean_value>,
      "vpx_rule_max_limit":<Integer_value>,
      "consumed_db_storage":<String_value>,
      "vpx_rule_licensed_count":<Integer_value>,
      "total_licenses_consumed":<Integer_value>,
      "ns_vpnvserver_managed_count":<Integer_value>,
      "ns_gslbvserver_managed_count":<Integer_value>,
      "auto_licensed_count":<Integer_value>,
      "ns_vpnvserver_count":<Integer_value>,
      "total_discovered_tp_vservers":<Integer_value>,
      "total_managed_tp_vservers":<Integer_value>,
      "total_allowed_tp_vservers":<Integer_value>,
      "ns_crvserver_count":<Integer_value>}]}

update

URL:https://<MGMT-IP>/nitro/v2/config/mas_license/id_value<String>

HTTPS Method:PUT

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"mas_license":{
      "snmp_traps":<Integer_value>,
      "cpx_rule_max_limit":<Integer_value>,
      "max_vips_val":<Integer_value>,
      "analytics":<Integer_value>,
      "adv_analytics":<Integer_value>,
      "cpx_rule_licensed_count":<Integer_value>,
      "manual_licensed_count":<Integer_value>,
      "upgrade_time":<Integer_value>,
      "ns_authenticationvserver_count":<Integer_value>,
      "tenantnslictype":<String_value>,
      "pooled_lic":<Integer_value>,
      "vcpu_lic":<Integer_value>,
      "lic_type":<Integer_value>,
      "ns_lbvserver_managed_count":<Integer_value>,
      "fips_bw_lic":<Integer_value>,
      "syslog":<Integer_value>,
      "ns_csvserver_managed_count":<Integer_value>,
      "ns_gslbvserver_count":<Integer_value>,
      "cpx_lic":<Integer_value>,
      "fips_vcpu_lic":<Integer_value>,
      "ns_authenticationvserver_managed_count":<Integer_value>,
      "is_las_enabled":<Boolean_value>,
      "ns_csvserver_count":<Integer_value>,
      "forced_unlicense_timestamp":<String_value>,
      "get_consumed_db":<Boolean_value>,
      "perf":<Integer_value>,
      "ns_crvserver_managed_count":<Integer_value>,
      "ns_lbvserver_count":<Integer_value>,
      "vpx_rule_licensed_count":<Integer_value>,
      "vpx_rule_max_limit":<Integer_value>,
      "automatic_unlicense_timestamp":<String_value>,
      "mhc_lic":<Integer_value>,
      "ns_gslbvserver_managed_count":<Integer_value>,
      "total_licenses_consumed":<Integer_value>,
      "ns_vpnvserver_managed_count":<Integer_value>,
      "id":<String_value>,
      "ns_crvserver_count":<Integer_value>,
      "vpx_lic":<Integer_value>,
      "auto_licensed_count":<Integer_value>,
      "ns_vpnvserver_count":<Integer_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mas_license":[{
      "id":<String_value>,
      "max_tp_vservers":<String_value>,
      "mhc_lic":<Integer_value>,
      "automatic_unlicense_timestamp":<String_value>,
      "vpx_lic":<Integer_value>,
      "max_vips":<String_value>,
      "rpt_sampletime":<Double_value>,
      "perf":<Integer_value>,
      "node_id":<String_value>,
      "cpx_lic":<Integer_value>,
      "fips_bw_lic":<Integer_value>,
      "syslog":<Integer_value>,
      "forced_unlicense_timestamp":<String_value>,
      "fips_vcpu_lic":<Integer_value>,
      "is_las_enabled":<Boolean_value>,
      "tenantnslictype":<String_value>,
      "max_storage":<String_value>,
      "upgrade_time":<Integer_value>,
      "max_vips_val":<Integer_value>,
      "analytics":<Integer_value>,
      "adv_analytics":<Integer_value>,
      "snmp_traps":<Integer_value>,
      "lic_type":<Integer_value>,
      "pooled_lic":<Integer_value>,
      "vcpu_lic":<Integer_value>,
      "ns_authenticationvserver_count":<Integer_value>,
      "total_allowed_vips":<Integer_value>,
      "manual_licensed_count":<Integer_value>,
      "cpx_rule_licensed_count":<Integer_value>,
      "cpx_rule_max_limit":<Integer_value>,
      "total_managed_vips":<Integer_value>,
      "ns_lbvserver_managed_count":<Integer_value>,
      "total_discovered_vips":<Integer_value>,
      "ns_gslbvserver_count":<Integer_value>,
      "ns_csvserver_managed_count":<Integer_value>,
      "entitled_db_storage":<Double_value>,
      "ns_csvserver_count":<Integer_value>,
      "ns_authenticationvserver_managed_count":<Integer_value>,
      "ns_lbvserver_count":<Integer_value>,
      "ns_crvserver_managed_count":<Integer_value>,
      "get_consumed_db":<Boolean_value>,
      "vpx_rule_max_limit":<Integer_value>,
      "consumed_db_storage":<String_value>,
      "vpx_rule_licensed_count":<Integer_value>,
      "total_licenses_consumed":<Integer_value>,
      "ns_vpnvserver_managed_count":<Integer_value>,
      "ns_gslbvserver_managed_count":<Integer_value>,
      "auto_licensed_count":<Integer_value>,
      "ns_vpnvserver_count":<Integer_value>,
      "total_discovered_tp_vservers":<Integer_value>,
      "total_managed_tp_vservers":<Integer_value>,
      "total_allowed_tp_vservers":<Integer_value>,
      "ns_crvserver_count":<Integer_value>}]}